package com.protectsoft.webviewcode;

/**
 * Content
 *
 * @since 2021-04-30
 */
public class Content {
    static final String TYPE_TEXT = "text";
    static final String TYPE_CODE = "code";
    static final String TYPE_HTML = "html";
    private String text;
    private String type;

    /**
     * Content
     *
     * @param text text
     * @param type type
     */
    public Content(String text,String type) {
        this.text = text;
        this.type = type;
    }

    public String getText() {
        return this.text;
    }

    public String getType() {
        return this.type;
    }
}
